package com.ruoyi.student.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生课对象 student_course
 *
 * @author 刘红
 * @date 2023-11-29
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
@TableName("student_course")
@ApiModel(value = "StudentCourse", description = "学生课实体")
public class StudentCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type= IdType.AUTO)
    @ApiModelProperty("主键")
    private Long id;

    /** 学生id */
    @Excel(name = "学生id")
    @ApiModelProperty("学生id")
    private Long userId;

    /** 课程 */
    @ApiModelProperty("课程")
    private Long courseId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    @ApiModelProperty("课程名称")
    private String courseName;

    /** 学分 */
    @Excel(name = "学分")
    @ApiModelProperty("学分")
    private Long score;

    /** 周一 */
    @Excel(name = "周一")
    @ApiModelProperty("周一")
    private Integer monday;

    /** 周二 */
    @Excel(name = "周二")
    @ApiModelProperty("周二")
    private Integer tuesday;

    /** 周三 */
    @Excel(name = "周三")
    @ApiModelProperty("周三")
    private Integer wednesday;

    /** 周四 */
    @Excel(name = "周四")
    @ApiModelProperty("周四")
    private Integer thursday;

    /** 周五 */
    @Excel(name = "周五")
    @ApiModelProperty("周五")
    private Integer friday;

    /** 状态 */
    @ApiModelProperty("状态")
    private String status;

    /** 教室 */
    @Excel(name = "教室")
    @ApiModelProperty("教室")
    private Long classroom;

}
